package jam.beans;

import java.io.Serializable;

public class Shuttle implements Serializable{

  /**
   * 
   */
  private static final long serialVersionUID = 1L;

  public Shuttle() {
    super();
  }

  public Shuttle(String id, String shuttleName, int capacity) {
    this.setId(id);
    this.shuttleName = shuttleName;
    this.capacity = capacity;
  }

  private String id;
  private String shuttleName;
  private int capacity;
  private LocationInstance latestLocation;

  public String getShuttleName() {
    return shuttleName;
  }

  public void setShuttleName(String shuttleName) {
    this.shuttleName = shuttleName;
  }

  public int getCapacity() {
    return capacity;
  }

  public void setCapacity(int capacity) {
    this.capacity = capacity;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public LocationInstance getLatestLocation() {
    return latestLocation;
  }

  public void setLatestLocation(LocationInstance latestLocation) {
    this.latestLocation = latestLocation;
  }

}
